﻿// MIT License
// 开源地址：https://gitee.com/co1024/AbcMvc
// Copyright (c) 2021-2023 1024
// Abc.Mvc=Furion+EF+SqlSugar+Pear layui admin.

namespace Abc.Application.ApiAdminServices;

/// <summary>
/// 输入Mapper
/// 邮件发送模板
/// </summary>
public class ApiEmailSendTemplateMapperInput : IRegister
{
    public void Register(TypeAdapterConfig config)
    {
        // 示例
        //config.ForType<xxxInput,xxx>()
        //.Map(dest => dest.MigrationId, src => src.MigrationId)//
        //.Map(dest => dest.Id, src => src.Id)//
        //;

        // Description 邮件发送模板
        //config.ForType<ApiEmailSendTemplateInput,SysEmailSendTemplate>()

        #region 公共字段

        //.Map(dest => dest.Id, src => src.Id)//  ID
        //.Map(dest => dest.ExtensionData, src => src.ExtensionData)//  扩展字段
        //.Map(dest => dest.CreatorUserId, src => src.CreatorUserId)//  创建用户ID
        //.Map(dest => dest.CreatorUserName, src => src.CreatorUserName)//  创建用户
        //.Map(dest => dest.CreationTime, src => src.CreationTime)//  创建时间
        //.Map(dest => dest.UpdateUserId, src => src.UpdateUserId)//  更新用户ID
        //.Map(dest => dest.UpdateUserName, src => src.UpdateUserName)//  更新用户
        //.Map(dest => dest.UpdateTime, src => src.UpdateTime)//  更新时间
        //.Map(dest => dest.IsDeleted, src => src.IsDeleted)//  默认假删除
        //.Map(dest => dest.DeletedUserId, src => src.DeletedUserId)//  删除用户ID
        //.Map(dest => dest.DeletedUserName, src => src.DeletedUserName)//  删除用户
        //.Map(dest => dest.DeletedTime, src => src.DeletedTime)//  删除时间

        #endregion 公共字段

        //.Map(dest => dest.TemplateType, src => src.TemplateType)//  邮件发送模板类型
        //.Map(dest => dest.IsEnable, src => src.IsEnable)//  是否启用.
        //.Map(dest => dest.Title, src => src.Title)//  邮件标题
        //.Map(dest => dest.Content, src => src.Content)//  邮件内容
        //.Map(dest => dest.Code, src => src.Code)//  编号
        //.Map(dest => dest.TableId, src => src.TableId)//  表ID
        //;
    }
}